package com.developer.platform.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.developer.platform.infrastructure.enums.StatusEnum;
import com.veeker.mybatis.basic.BaseEntity;

/**
 * 角色
 *
 * @author ：qiaoliang
 * @date ：2020-10-16
 */
@TableName(value = "sys_role",autoResultMap = true)
public class Role extends BaseEntity<Long,Long> {
    /**名称**/
    private String name;
    /**标识**/
    private String mark;
    /**排序**/
    private int sort;
    /**状态**/
    private StatusEnum status;

    public Role() {
    }

    public Role(Long id) {
        super(id);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public StatusEnum getStatus() {
        return status;
    }

    public void setStatus(StatusEnum status) {
        this.status = status;
    }

}
